-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identify wCurrentMapScriptFlags
bits
#467
Conversation
Would be my preference...I realize in a couple of cases they are set in the map script itself to re-trigger onLoad functions ( |
22651e7
to
86a32a4
Compare
Sure, renamed |
can we do |
I'd prefer not to; that would seem to imply it's the bit for checking if a current map has loaded, when it's really one of a coequal pair. |
+ adapt own code
BIT_CUR_MAP_LOADED_1
is the more frequently used flag, mostly used for updating map blocks (when you use a Card Key, press a switch, enter an Elite 4 room, etc).BIT_CUR_MAP_LOADED_2
is mostly used for making Gyms load their statue sign names, and never re-set
(with one exception in GameCorner.asm, which uses it to select a lucky slot machine, and re-set
s it when the Rocket runs away).But since they're not exclusively for "changing blocks" and "loading Gym names", I didn't want to name the constants after those.